package com.sg.service.impl;

import com.sg.bean.JobpersonState;
import com.sg.dao.JobpersonStateDao;
import com.sg.service.JobpersonStateService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fyp
 * 工作发布人状态逻辑实现类
 */
@Service
public class JobpersonStateServiceImpl implements JobpersonStateService {
    Logger logger=Logger.getLogger(JobpersonStateServiceImpl.class);
    @Autowired
    JobpersonStateDao jobpersonStateDao;

    @Override
    public List<JobpersonState> findAll() {
        return jobpersonStateDao.findAll();
    }

    @Override
    public JobpersonState findById(int jpStateId) {
        return jobpersonStateDao.findById(jpStateId);
    }
}
